package com.atguigu.gmall.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author tangsy
 * @Description TODO
 * @date 2022/11/29 11:05
 * @Version 1.0
 */
@Data
@TableName(value ="base_category1")
public class BaseCategory1 {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("name")
    private String name;

}
